[INFO] cloning repository https://github.com/knarkzel/rrr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knarkzel/rrr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknarkzel%2Frrr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknarkzel%2Frrr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d59d941716f6b1946981a5060bbdadb21684df8
[INFO] fixing knarkzel/rrr against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknarkzel%2Frrr" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/knarkzel/rrr
[INFO] finished tweaking git repo https://github.com/knarkzel/rrr
[INFO] tweaked toml for git repo https://github.com/knarkzel/rrr written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/knarkzel/rrr on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/knarkzel/rrr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de
[INFO] running `Command { std: "docker" "start" "a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling anyhow v1.0.44
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking unicode-segmentation v1.8.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking itertools v0.10.1
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking plotters-backend v0.3.2
[INFO] [stderr]     Checking open v2.0.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking plotters-svg v0.3.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking plotters v0.3.1
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking termion v1.5.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking tui v0.16.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking criterion-plot v0.4.4
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling fehler-macros v1.0.0
[INFO] [stderr]     Checking fehler v1.0.0
[INFO] [stderr]     Checking rrr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `rrr`
[INFO] [stderr]  --> src/state.rs
[INFO] [stderr]   = cause: error: custom attribute panicked
[INFO] [stderr]               --> src/state.rs:245:5
[INFO] [stderr]                |
[INFO] [stderr]            245 |     #[throws]
[INFO] [stderr]                |     ^^^^^^^^^
[INFO] [stderr]                |
[INFO] [stderr]                = help: message: #[throws] attribute can only be applied to functions and methods
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0599]: no method named `read` found for mutable reference `&mut state::Context` in the current scope
[INFO] [stderr]               --> src/state.rs:265:31
[INFO] [stderr]                |
[INFO] [stderr]            265 |         self.directory = self.read()?.collect();
[INFO] [stderr]                |                               ^^^^ method not found in `&mut state::Context`
[INFO] [stderr]                |
[INFO] [stderr]                = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]                = note: the following trait defines an item `read`, perhaps you need to implement it:
[INFO] [stderr]                        candidate #1: `std::io::Read`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0599`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: `impl Iterator<Item = DirEntry>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/state.rs:246:27
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/state.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> {
[INFO] [stdout]     |                 ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> + use<> {
[INFO] [stdout]     |                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:99:49
[INFO] [stdout]     |
[INFO] [stdout]  36 |         context.clamp_cursor()?;
[INFO] [stdout]     |         -----------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |         `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  42 |         let listing = context.listing()?;
[INFO] [stdout]     |                       ------------------
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  93 |                             if context.read_directory().is_err() {
[INFO] [stdout]     |                                ------------------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  99 |                             if let Ok(target) = context.target_dir() {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this value will be stored in a temporary; let us call it `#9`
[INFO] [stdout]     |                                                 up until Edition 2021 `#9` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 103 |                                 if context.read_directory().is_err() {
[INFO] [stdout]     |                                    ------------------------
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                    `#4` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 108 |                         }
[INFO] [stdout]     |                         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout] 114 |                                 context.read_directory()?;
[INFO] [stdout]     |                                 -------------------------
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                                 `#5` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 120 |                                 if edit::file(&target.path()).is_err() {}
[INFO] [stdout]     |                                    --------------------------
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#6`
[INFO] [stdout]     |                                    `#6` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 137 |                                 views.index(index.saturating_sub(1) as usize)?;
[INFO] [stdout]     |                                 ----------------------------------------------
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this value will be stored in a temporary; let us call it `#7`
[INFO] [stdout]     |                                 `#7` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 163 |                             views.execute_command()?;
[INFO] [stdout]     |                             ------------------------
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             this value will be stored in a temporary; let us call it `#8`
[INFO] [stdout]     |                             `#8` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `#9` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#6` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#7` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#8` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.3.5
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:99:49
[INFO] [stdout]     |
[INFO] [stdout]  36 |         context.clamp_cursor()?;
[INFO] [stdout]     |         -----------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |         `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  42 |         let listing = context.listing()?;
[INFO] [stdout]     |                       ------------------
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  93 |                             if context.read_directory().is_err() {
[INFO] [stdout]     |                                ------------------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  99 |                             if let Ok(target) = context.target_dir() {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this value will be stored in a temporary; let us call it `#9`
[INFO] [stdout]     |                                                 up until Edition 2021 `#9` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 103 |                                 if context.read_directory().is_err() {
[INFO] [stdout]     |                                    ------------------------
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                    `#4` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 108 |                         }
[INFO] [stdout]     |                         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout] 114 |                                 context.read_directory()?;
[INFO] [stdout]     |                                 -------------------------
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                                 `#5` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 120 |                                 if edit::file(&target.path()).is_err() {}
[INFO] [stdout]     |                                    --------------------------
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#6`
[INFO] [stdout]     |                                    `#6` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 137 |                                 views.index(index.saturating_sub(1) as usize)?;
[INFO] [stdout]     |                                 ----------------------------------------------
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this value will be stored in a temporary; let us call it `#7`
[INFO] [stdout]     |                                 `#7` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 163 |                             views.execute_command()?;
[INFO] [stdout]     |                             ------------------------
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             this value will be stored in a temporary; let us call it `#8`
[INFO] [stdout]     |                             `#8` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `#9` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#6` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#7` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#8` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.44/src/error.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `rrr`
[INFO] [stderr]  --> src/state.rs
[INFO] [stderr]   = cause: error: custom attribute panicked
[INFO] [stderr]               --> src/state.rs:245:5
[INFO] [stderr]                |
[INFO] [stderr]            245 |     #[throws]
[INFO] [stderr]                |     ^^^^^^^^^
[INFO] [stderr]                |
[INFO] [stderr]                = help: message: #[throws] attribute can only be applied to functions and methods
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0599]: no method named `read` found for mutable reference `&mut state::Context` in the current scope
[INFO] [stderr]               --> src/state.rs:265:31
[INFO] [stderr]                |
[INFO] [stderr]            265 |         self.directory = self.read()?.collect();
[INFO] [stderr]                |                               ^^^^ method not found in `&mut state::Context`
[INFO] [stderr]                |
[INFO] [stderr]                = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]                = note: the following trait defines an item `read`, perhaps you need to implement it:
[INFO] [stderr]                        candidate #1: `std::io::Read`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0599`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]    Migrating benches/read_directory.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl Iterator<Item = DirEntry>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/state.rs:246:27
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/state.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> {
[INFO] [stdout]     |                 ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> + use<> {
[INFO] [stdout]     |                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: rrr v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking rrr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0506]: cannot assign to `self.directory` because it is borrowed
[INFO] [stdout]    --> src/state.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         self.directory = self.read()?.collect();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^   ------------          - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow<Result<Infallible, anyhow::Error>, impl Iterator<Item = DirEntry>>`
[INFO] [stdout]     |         |                |
[INFO] [stdout]     |         |                `self.directory` is borrowed here
[INFO] [stdout]     |         |                a temporary with access to the borrow is created here ...
[INFO] [stdout]     |         `self.directory` is assigned to here but it was already borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/state.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |         self.directory = self.read()?.collect();
[INFO] [stdout]     |                          ^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> + use<> {
[INFO] [stdout]     |                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0506`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rrr` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0506]: cannot assign to `self.directory` because it is borrowed
[INFO] [stdout]    --> src/state.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         self.directory = self.read()?.collect();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^   ------------          - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow<Result<Infallible, anyhow::Error>, impl Iterator<Item = DirEntry>>`
[INFO] [stdout]     |         |                |
[INFO] [stdout]     |         |                `self.directory` is borrowed here
[INFO] [stdout]     |         |                a temporary with access to the borrow is created here ...
[INFO] [stdout]     |         `self.directory` is assigned to here but it was already borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/state.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |         self.directory = self.read()?.collect();
[INFO] [stdout]     |                          ^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn read(&self) -> impl Iterator<Item = DirEntry> + use<> {
[INFO] [stdout]     |                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0506`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rrr` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de", kill_on_drop: false }`
[INFO] [stdout] a43f96b664c2d19e874c9c98bd69917aa5272685ef701f983a7d95980216b7de
